Skip to content

Conversation

@jerome-benoit
Copy link
Contributor

@jerome-benoit jerome-benoit commented Feb 9, 2026

Fixes regression introduced in #12818.

Closes #12817
Closes #12811

Summary

  • Restores ../install to the nix fileset in node_modules.nix
  • The desktop build requires this file as cli.rs uses include_str!("../../../../install")

Verification

The error reported in #12818 (comment):

error: couldn't read `src/../../../../install`: No such file or directory (os error 2)
  --> src/cli.rs:56:30
   |
56 | const INSTALL_SCRIPT: &str = include_str!("../../../../install");

Copilot AI review requested due to automatic review settings February 9, 2026 16:56
@github-actions
Copy link
Contributor

github-actions bot commented Feb 9, 2026

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Restores a missing install script to the Nix fileset used for the desktop build, fixing a regression where Rust include_str! could not find the file.

Changes:

  • Adds ../install back into the node_modules.nix fileset.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

The install script was incorrectly removed in anomalyco#12818. It is required
by the desktop build as cli.rs uses include_str!("../../../../install").

Fixes the regression reported in anomalyco#12818 comments.
@jerome-benoit jerome-benoit force-pushed the fix/nix-restore-install-fileset branch from 7904bf3 to 9ecb2dc Compare February 9, 2026 17:04
@jerome-benoit
Copy link
Contributor Author

jerome-benoit commented Feb 9, 2026

GitHub is currently having issues: error 404, workflows fail to fetch repos, etc.

@rekram1-node rekram1-node merged commit fb94b4f into anomalyco:dev Feb 9, 2026
3 of 5 checks passed
fanjia1024 pushed a commit to fanjia1024/opencode that referenced this pull request Feb 10, 2026
BryceRyan pushed a commit to BryceRyan/opencode that referenced this pull request Feb 10, 2026
avion23 pushed a commit to avion23/opencode that referenced this pull request Feb 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

nix-hashes workflow doesn't watch nix/scripts changes Update nix hashes, please

2 participants